<?php
//数组的遍历显示
$a=[111,222,333,"Hello",true];
for($i=0, $len=count($a); $i<$len; ++$i){
    echo  $i, '.',$a[$i], "\n";
}
echo "----------------------------------\n";
$a=[111,222,10=>333,"Hello",true];
for($i=0,$len=count($a);$i<$len;++$i){
    echo $i, '.', $a[$i], "\n";
}
